<div class="header">
    <div class="container">
        
        <div class="col-sm-7 logo hidden-xs" style="text-align: left">
            <a href="#">
    			<img src="<?php echo URL; ?>public/imgs/template/logo.png" alt="" border="0" />
            </a>
        </div>
    	
        <div class="col-sm-5 col-xs-12">
                
                <?php
                    if($_SESSION['usuario']['tipous'] == 1){ ?>
                    <div class="dropdown" style="float: left; margin-right: 4px">
                      <button class="btn btn-default dropdown-toggle btn-sm" type="button" id="dropdownMenu1" data-toggle="dropdown">
                        Promoções
                        <span class="caret"></span>
                      </button>
                      <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
                        <li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo URL; ?>promocoes/promocao">Nova promoção</a></li>
                        <li role="presentation"><a role="menuitem" tabindex="-1" href="<?php echo URL; ?>promocoes/minhas_promocoes">Minhas promoções </a></li>
                      </ul>
                    </div>

                 <?php } ?>

                <a href="<?php echo URL; ?>usuarios/minha_conta" class="btn btn-default btn-sm">Minha conta</a>
                <a href="<?php echo URL; ?>autenticacao/logout" class="btn btn-default btn-sm">Sair</a>
        </div>

    </div>
</div>